package com.mall.vo;

import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

@Data
@Builder
public class WebResult<T> implements Serializable {

    public static final String REQUEST_STATUS_ERROR = "error";
    public static final String SMS_CODE_CHANGE_PREFIX = "sms:code:";
    public static final String REQUEST_STATUS_SUCCESS = "success";
    public static final String ACCOUNT_PWD_NOT_EXIST = "该用户不存在";
    private static final long serialVersionUID = 1L;
    /**
     * 状态码
     */
    private int code;
    /**
     * 返回数据
     */
    private T data;

    /**
     * msg信息
     */
    private String message;

}

